﻿using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace Assets.Scripts.EffectorObject
{
    public enum LineType
    {
        DashedLine,
        SolidLine,
    }
    [Serializable]
    [CreateAssetMenu(menuName = "EffectorObject/MissileData", fileName = "MissileData")]
    public class MissileData : ScriptableObject
    {
        public float midPointT;
        public LineType lineType = LineType.SolidLine;
        [Header("旋转")]
        public bool isRotate = false;
        public float rotateValue = 0;
        [Header("缩放")]
        public bool isScale = false;
        public bool isReverse = false;
        public Vector3 endScale;
        [Header("虚线相关")]
        public GameObject linePointSprite;
        public int dashedLinePointCount = 10;
        [Header("实线相关")]
        public Gradient lineColor;
        public int solidlinePointCount = 100;
        [Header("结束触发函数名称列表")]
        public List<string> onCompletedFuncNameList;
    }
}